Skip to main content

trackCount

Type

property

Summary

Specifies the number of separate tracks in a movie.

Syntax

get the trackCount of <player>

Description

Use the trackCount property to loop through the tracks in a movie.

Each track of a movie holds a different set of data, which may consist of sound, video, or other data types. The trackCount property specifies how many tracks there are.

Examples

repeat with x = 1 to the trackCount of player "Arctic"
if the trackCount of player 1 = 1 then hide player 1

glossary: property

keyword: integer

property: enabledTracks, tracks, mediaTypes, nodes

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?